import request from '@/utils/request'

export function listUseUnit(data) {
  return request({
    url: '/ele/v1/useUnit/list',
    method: 'get',
    params:data
  })
}

export function modifyUseUnit(data) {
  return request({
    url: 'ele/v1/useUnit/modify',
    method: 'post',
    data
  })
}

export function addUseUnit(data) {
  return request({
    url: 'ele/v1/useUnit/add',
    method: 'post',
    data
  })
}

